<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SkyGameEngine2d: SkyEngine2d::Color3类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="shpe.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SkyGameEngine2d
   &#160;<span id="projectnumber">1.0.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>SkyEngine2d</b></li><li class="navelem"><a class="el" href="class_sky_engine2d_1_1_color3.html">Color3</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="class_sky_engine2d_1_1_color3-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">SkyEngine2d::Color3类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>(r,g,b) 三原色表示的颜色，三原色分别用一个字节表示 取值为 [0,255]  
 <a href="class_sky_engine2d_1_1_color3.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_color_8h_source.html">Color.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a68b70e2e4436baa08380922781ddf8ee"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_color3.html#a68b70e2e4436baa08380922781ddf8ee">Color3</a> ()</td></tr>
<tr class="memdesc:a68b70e2e4436baa08380922781ddf8ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">无参构造  <a href="#a68b70e2e4436baa08380922781ddf8ee">更多...</a><br /></td></tr>
<tr class="separator:a68b70e2e4436baa08380922781ddf8ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa178f052beb89824a6b3ab6560b9157e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_color3.html#aa178f052beb89824a6b3ab6560b9157e">Color3</a> (uint8_t r, uint8_t g, uint8_t b)</td></tr>
<tr class="memdesc:aa178f052beb89824a6b3ab6560b9157e"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造 通过3原色  <a href="#aa178f052beb89824a6b3ab6560b9157e">更多...</a><br /></td></tr>
<tr class="separator:aa178f052beb89824a6b3ab6560b9157e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac88dd42363fa903438401c2e89c7a433"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_color3.html#ac88dd42363fa903438401c2e89c7a433">Color3</a> (const <a class="el" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> &amp;color)</td></tr>
<tr class="memdesc:ac88dd42363fa903438401c2e89c7a433"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造 通过Color4f对象  <a href="#ac88dd42363fa903438401c2e89c7a433">更多...</a><br /></td></tr>
<tr class="separator:ac88dd42363fa903438401c2e89c7a433"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f8ac2508316443d45d088b38155003d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_color3.html#a9f8ac2508316443d45d088b38155003d">Color3</a> (const <a class="el" href="class_sky_engine2d_1_1_color4.html">Color4</a> &amp;color)</td></tr>
<tr class="memdesc:a9f8ac2508316443d45d088b38155003d"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造 通过Color4对象  <a href="#a9f8ac2508316443d45d088b38155003d">更多...</a><br /></td></tr>
<tr class="separator:a9f8ac2508316443d45d088b38155003d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c3bdc59d8b7a2eec022dcb112d356ef"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_color3.html#a0c3bdc59d8b7a2eec022dcb112d356ef">getR</a> () const</td></tr>
<tr class="memdesc:a0c3bdc59d8b7a2eec022dcb112d356ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取r  <a href="#a0c3bdc59d8b7a2eec022dcb112d356ef">更多...</a><br /></td></tr>
<tr class="separator:a0c3bdc59d8b7a2eec022dcb112d356ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78339ecbd23536e0821f01992a3d50a1"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_color3.html#a78339ecbd23536e0821f01992a3d50a1">getG</a> () const</td></tr>
<tr class="memdesc:a78339ecbd23536e0821f01992a3d50a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取g  <a href="#a78339ecbd23536e0821f01992a3d50a1">更多...</a><br /></td></tr>
<tr class="separator:a78339ecbd23536e0821f01992a3d50a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ffadcc09df00a7dae7d93365b0e290a"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_color3.html#a1ffadcc09df00a7dae7d93365b0e290a">getB</a> () const</td></tr>
<tr class="memdesc:a1ffadcc09df00a7dae7d93365b0e290a"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取b  <a href="#a1ffadcc09df00a7dae7d93365b0e290a">更多...</a><br /></td></tr>
<tr class="separator:a1ffadcc09df00a7dae7d93365b0e290a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a230afe0903e7be9daf18332ff8d8fd8e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_color3.html#a230afe0903e7be9daf18332ff8d8fd8e">set</a> (uint8_t r, uint8_t g, uint8_t b)</td></tr>
<tr class="memdesc:a230afe0903e7be9daf18332ff8d8fd8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置颜色值  <a href="#a230afe0903e7be9daf18332ff8d8fd8e">更多...</a><br /></td></tr>
<tr class="separator:a230afe0903e7be9daf18332ff8d8fd8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a055a29c9f1960d96a5c9f80f05f9aec9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_color3.html#a055a29c9f1960d96a5c9f80f05f9aec9">setR</a> (uint8_t r)</td></tr>
<tr class="memdesc:a055a29c9f1960d96a5c9f80f05f9aec9"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置r  <a href="#a055a29c9f1960d96a5c9f80f05f9aec9">更多...</a><br /></td></tr>
<tr class="separator:a055a29c9f1960d96a5c9f80f05f9aec9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6b791046cf9a652f3cac72ce70f829b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_color3.html#aa6b791046cf9a652f3cac72ce70f829b">setG</a> (uint8_t g)</td></tr>
<tr class="memdesc:aa6b791046cf9a652f3cac72ce70f829b"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置g  <a href="#aa6b791046cf9a652f3cac72ce70f829b">更多...</a><br /></td></tr>
<tr class="separator:aa6b791046cf9a652f3cac72ce70f829b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a740951aace08370588406902cd68d0a8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_color3.html#a740951aace08370588406902cd68d0a8">setB</a> (uint8_t b)</td></tr>
<tr class="memdesc:a740951aace08370588406902cd68d0a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置b  <a href="#a740951aace08370588406902cd68d0a8">更多...</a><br /></td></tr>
<tr class="separator:a740951aace08370588406902cd68d0a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a194587500af3342b231c7c35afc0b215"><td class="memItemLeft" align="right" valign="top"><a id="a194587500af3342b231c7c35afc0b215"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_color3.html#a194587500af3342b231c7c35afc0b215">operator==</a> (const <a class="el" href="class_sky_engine2d_1_1_color3.html">Color3</a> &amp;color)</td></tr>
<tr class="memdesc:a194587500af3342b231c7c35afc0b215"><td class="mdescLeft">&#160;</td><td class="mdescRight">重载 == <br /></td></tr>
<tr class="separator:a194587500af3342b231c7c35afc0b215"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dea387e8d4ef7d6b9e6d9c1b161817e"><td class="memItemLeft" align="right" valign="top"><a id="a9dea387e8d4ef7d6b9e6d9c1b161817e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_color3.html#a9dea387e8d4ef7d6b9e6d9c1b161817e">operator!=</a> (const <a class="el" href="class_sky_engine2d_1_1_color3.html">Color3</a> &amp;color)</td></tr>
<tr class="memdesc:a9dea387e8d4ef7d6b9e6d9c1b161817e"><td class="mdescLeft">&#160;</td><td class="mdescRight">重载 != <br /></td></tr>
<tr class="separator:a9dea387e8d4ef7d6b9e6d9c1b161817e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>(r,g,b) 三原色表示的颜色，三原色分别用一个字节表示 取值为 [0,255] </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a68b70e2e4436baa08380922781ddf8ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68b70e2e4436baa08380922781ddf8ee">&#9670;&nbsp;</a></span>Color3() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SkyEngine2d::Color3::Color3 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>无参构造 </p>
<p>默认颜色值为 (255,255,255) </p>

</div>
</div>
<a id="aa178f052beb89824a6b3ab6560b9157e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa178f052beb89824a6b3ab6560b9157e">&#9670;&nbsp;</a></span>Color3() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">SkyEngine2d::Color3::Color3 </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>构造 通过3原色 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">uint8_t</td><td>r 红原色 取值为 [0,255] </td></tr>
    <tr><td class="paramname">uint8_t</td><td>g 绿原色 取值为 [0,255] </td></tr>
    <tr><td class="paramname">uint8_t</td><td>b 蓝原色 取值为 [0,255] </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac88dd42363fa903438401c2e89c7a433"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac88dd42363fa903438401c2e89c7a433">&#9670;&nbsp;</a></span>Color3() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">SkyEngine2d::Color3::Color3 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> &amp;&#160;</td>
          <td class="paramname"><em>color</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>构造 通过Color4f对象 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_color4f.html" title="颜色 r,g,b,a 取值为 [0,1]">Color4f</a> &amp; color Color4f对象 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a9f8ac2508316443d45d088b38155003d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f8ac2508316443d45d088b38155003d">&#9670;&nbsp;</a></span>Color3() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">SkyEngine2d::Color3::Color3 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_color4.html">Color4</a> &amp;&#160;</td>
          <td class="paramname"><em>color</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>构造 通过Color4对象 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_color4.html" title="(r,g,b,a) 表示的颜色，每个分量用一个字节表示 取值为 [0,255]">Color4</a> &amp; color Color4对象 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a1ffadcc09df00a7dae7d93365b0e290a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ffadcc09df00a7dae7d93365b0e290a">&#9670;&nbsp;</a></span>getB()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t SkyEngine2d::Color3::getB </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取b </p>
<dl class="section return"><dt>返回</dt><dd>uint8_t </dd></dl>

</div>
</div>
<a id="a78339ecbd23536e0821f01992a3d50a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78339ecbd23536e0821f01992a3d50a1">&#9670;&nbsp;</a></span>getG()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t SkyEngine2d::Color3::getG </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取g </p>
<dl class="section return"><dt>返回</dt><dd>uint8_t </dd></dl>

</div>
</div>
<a id="a0c3bdc59d8b7a2eec022dcb112d356ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c3bdc59d8b7a2eec022dcb112d356ef">&#9670;&nbsp;</a></span>getR()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t SkyEngine2d::Color3::getR </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取r </p>
<dl class="section return"><dt>返回</dt><dd>uint8_t </dd></dl>

</div>
</div>
<a id="a230afe0903e7be9daf18332ff8d8fd8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a230afe0903e7be9daf18332ff8d8fd8e">&#9670;&nbsp;</a></span>set()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Color3::set </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置颜色值 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">uint8_t</td><td>r 红原色 取值为 [0,255] </td></tr>
    <tr><td class="paramname">uint8_t</td><td>g 绿原色 取值为 [0,255] </td></tr>
    <tr><td class="paramname">uint8_t</td><td>b 蓝原色 取值为 [0,255] </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a740951aace08370588406902cd68d0a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a740951aace08370588406902cd68d0a8">&#9670;&nbsp;</a></span>setB()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Color3::setB </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置b </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">uint8_t</td><td>b </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="aa6b791046cf9a652f3cac72ce70f829b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6b791046cf9a652f3cac72ce70f829b">&#9670;&nbsp;</a></span>setG()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Color3::setG </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>g</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置g </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">uint8_t</td><td>g </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a055a29c9f1960d96a5c9f80f05f9aec9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a055a29c9f1960d96a5c9f80f05f9aec9">&#9670;&nbsp;</a></span>setR()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Color3::setR </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置r </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">uint8_t</td><td>r </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/code/SkyGameEngine2d/src/base/<a class="el" href="_color_8h_source.html">Color.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
